package com.neu.flashmall.user.mapper;

import com.neu.flashmall.user.entity.UmsCollectSpu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 12615
* @description 针对表【ums_user_collect_spu(会员收藏的商品)】的数据库操作Mapper
* @createDate 2022-07-17 14:25:40
* @Entity com.neu.flashmall.user.entity.UmsCollectSpu
*/
@Mapper
public interface UmsCollectSpuMapper {

    int deleteByPrimaryKey(Long id);

    int insert(UmsCollectSpu record);

    int insertSelective(UmsCollectSpu record);

    UmsCollectSpu selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UmsCollectSpu record);

    int updateByPrimaryKey(UmsCollectSpu record);

    List<UmsCollectSpu> selectCollectSpuByUserId(Long userId);
}
